package com.shop.cereshop.app.service.imreport;


import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.imReport.CereImReport;
import com.shop.cereshop.commons.domain.imReport.dto.CereImReportParam;
import com.shop.cereshop.commons.exception.CoBusinessException;
import com.shop.cereshop.commons.result.Result;

public interface ImReportService {
    /**
     * 分页查询举报记录
     */
    Page<CereImReport> getReportPage(CereImReportParam param) throws CoBusinessException;

    /**
     * 根据ID获取举报记录
     */
    CereImReport getReportById(Long reportId) throws CoBusinessException;



    /**
     * 添加举报
     */
    Result<Void> addReport(CereImReportParam param , CereBuyerUser user ) throws CoBusinessException;

    Result<Void> updateReport(CereImReportParam param)throws CoBusinessException;
}
